package com.dpteam.service;

import com.dpteam.bean.ImportInfo;
import com.dpteam.bean.ProductInfo;
import com.dpteam.util.Page;

import java.util.List;

/**
 * Created by YangZhi on 2016/1/10.
 * 库存管理模块
 */
public interface StorageService {

    /**
     * 添加入库
     */
    boolean addImportProduct(String barcode, int amount);

    /**
     * 修改库存
     */
    boolean updateStorage(int id, int storage);

    /**
     * 查询入库记录
     */
    List<ImportInfo> findImportInfoAllPage(Page page);
}
